import request from '@/utils/request'

export function findAllStuInfo(params) {
  return request({
    url: '/findAllStuInfo',
    method: 'get',
    params
  })
}
export function selectStuInfoById(params) {
  return request({
    url: '/selectStuInfoById',
    method: 'get',
    params
  })
}
export function selectStuInfoByName(params) {
  return request({
    url: '/selectStuInfoByName',
    method: 'get',
    params
  })
}
export function deleteStuInfo(params) {
  return request({
    url: '/deleteStuInfo',
    method: 'delete',
    params
  })
}
export function updateStuInfoById(data) {
  return request({
    url: '/updateStuInfoById',
    method: 'post',
    data
  })
}
export function addStuInfo(data) {
  return request({
    url: '/addStuInfo',
    method: 'post',
    data
  })
}
